# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-moviepy
pkgver=1.0.3
pkgrel=1
pkgdesc="Video editing with Python"
url="https://zulko.github.io/moviepy/"
arch="noarch !ppc64le" # blocked by py3-imageio
license="MIT"
depends="ffmpeg py3-proglog py3-imageio py3-decorator py3-numpy py3-pillow"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/Zulko/moviepy/archive/v$pkgver.tar.gz"
builddir="$srcdir/moviepy-$pkgver"
options="!check" # No tests, require network connection

build() {
	# Remove tests
	rm -rfv "tests/"
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="24490b41fde6aacc202256254032e9993ef35cb2a5d09844509107ed31959bfed6105285a6c21196cdd63a3270d6f538d32305c1525dc769d07504a8178f66f9  py3-moviepy-1.0.3.tar.gz"
